package com.ruoyi.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lanhai
 */
@Data
@ApiModel("行政区划表")
public class District implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "地区id", required = true)
    private Long id;

    @ApiModelProperty(value = "地区id", required = true)
    private Long districtId;

    @ApiModelProperty(value = "地区名称", required = true)
    private String districtName;

    @ApiModelProperty(value = "地区上级id", required = true)
    private Long parentId;

    @ApiModelProperty(value = "地区层级", required = true)
    private Integer level;
}